package dowork;

import com.android.uiautomator.core.UiDevice;
import com.android.uiautomator.testrunner.UiAutomatorTestCase;
import com.sutuijingling.a.b;
import com.sutuijingling.a.i;
import com.sutuijingling.bean.TopBean;
import com.sutuijingling.result.c;

public class DoLoginTB extends UiAutomatorTestCase {
    public void testDoWork() {
        UiDevice uiDevice = getUiDevice();
        b a = b.a(uiDevice);
        try {
            TopBean topBean = new TopBean();
            UiDevice uiDevice2 = getUiDevice();
            new i(topBean, uiDevice2).g(26491934);
            a.f(uiDevice2);
        } catch (c e) {
            System.out.println("error code:" + e.a());
            a.f(uiDevice);
        } catch (Exception e2) {
            e2.printStackTrace();
            a.f(uiDevice);
        }
    }
}
